<?php $canon_options = get_option('canon_options'); ?>

                <div class="main wrapper clearfix">

                    <div class="foot left">
                        <?php if (!empty($canon_options['footer_text'])) echo $canon_options['footer_text']; ?>
                    </div>

        			<div class="foot right">

                        <?php 

                            if (isset($canon_options['social_links']) && $canon_options['show_social_icons'] == "checked") {
                            ?>
                            
                                <ul class="social-link">

                                    <?php 

                                        for ($i = 0; $i < count($canon_options['social_links']); $i++) {  
                                        ?>
                                            <li><a href="<?php echo $canon_options['social_links'][$i][1]; ?>"><i class="fa <?php echo $canon_options['social_links'][$i][0]; ?>"></i></a></li>
                                        <?php
                                        }
                                    ?>

                                </ul>


                            <?php     
                            }

                        ?>
                        
        			</div>

        		</div>

